package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditSelfMonitor;
import com.leadingsoft.pwxk.repository.AuditSelfMonitorRepository;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * 
 * @author ysh
 * @desc 审批信息-自行监测要求-服务类
 */
@Service
public class AuditSelfMonitorServiceImpl  extends AbstractService<AuditSelfMonitor>{
	
	@Autowired
	AuditSelfMonitorRepository auditSelfMonitorRepository;
	
	@Override
	public void saveAll(List<AuditSelfMonitor> models) {
		auditSelfMonitorRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		auditSelfMonitorRepository.deleteAll();
	}

	@Override
	public void save(AuditSelfMonitor model) {
		auditSelfMonitorRepository.save(model);
	}
	
}
	
	
